@charset "utf-8";

@import "./variable";

/* reset */
html,
body {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  height: 100%;
}

html {
  text-size-adjust: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft Yahei", Arial, Verdana, sans-serif;
  font-size: 14px;
  color: #000000;
  position: relative;
}

a {
  color: #000000;
  text-decoration: none;

  &:focus,
  &:active {
    background: none;
    color: $blue;
  }
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

fieldset,
img {
  border: 0;
}

img {
  border: 0;
  max-width: 100%;
}

address,
caption,
cite,
code,
dfn,
th,
var {
  font-style: normal;
  font-weight: normal;
}

ol,
ul,
li {
  list-style: none;
}

caption,
th {
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

abbr,
acronym {
  border: 0;
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.clear {
  clear: both;
}

input {
  outline: none;
  &:-webkit-autofill {
    -webkit-text-fill-color: #141313 !important;
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    background-color: transparent;
    background-image: none;
    transition: background-color 50000s ease-in-out 0s; //背景色透明  生效时长  过渡效果  启用时延迟的时间
  }
}

q:before,
q:after {
  content: "";
}

:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #999999;
  font-size: 12px;
}

::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #999999;
  font-size: 12px;
}

textarea:-ms-input-placeholder,
input:-ms-input-placeholder {
  color: #999999;
  font-size: 12px;
}

textarea::-webkit-input-placeholder,
input::-webkit-input-placeholder {
  color: #999999;
  font-size: 12px;
}

textarea:focus {
  outline: none;
}

em,
i {
  font-style: normal;
}
